package stu.khy.ssm.entity;

import java.util.Date;

public class AppVersion {
	 /** 主键id */
    private int id ;
    /** appId（来源于：app_info表的主键id） */
    private int appid ;
    /** 版本号 */
    private String versionno ;
    /** 版本介绍 */
    private String versioninfo ;
    /** 发布状态（来源于：data_dictionary，1 不发布 2 已发布 3 预发布） */
    private int publishstatus ;
    /** 下载链接 */
    private String downloadlink ;
    /** 版本大小（单位：M） */
    private Double versionsize ;
    /** 创建者（来源于dev_user开发者信息表的用户id） */
    private Date createdby ;
    /** 创建时间 */
    private Date creationdate ;
    /** 更新者（来源于dev_user开发者信息表的用户id） */
    private int modifyby ;
    /** 最新更新时间 */
    private Date modifydate ;
    /** apk文件的服务器存储路径 */
    private String apklocpath ;
    /** 上传的apk文件名称 */
    private String apkfilename ;
	public void setId(int id) {
		this.id = id;
	}
	public void setAppid(int appid) {
		this.appid = appid;
	}
	public void setVersionno(String versionno) {
		this.versionno = versionno;
	}
	public void setVersioninfo(String versioninfo) {
		this.versioninfo = versioninfo;
	}
	public void setPublishstatus(int publishstatus) {
		this.publishstatus = publishstatus;
	}
	public void setDownloadlink(String downloadlink) {
		this.downloadlink = downloadlink;
	}
	public void setVersionsize(Double versionsize) {
		this.versionsize = versionsize;
	}
	public void setCreatedby(Date createdby) {
		this.createdby = createdby;
	}
	public void setCreationdate(Date creationdate) {
		this.creationdate = creationdate;
	}
	public void setModifyby(int modifyby) {
		this.modifyby = modifyby;
	}
	public void setModifydate(Date modifydate) {
		this.modifydate = modifydate;
	}
	public void setApklocpath(String apklocpath) {
		this.apklocpath = apklocpath;
	}
	@Override
	public String toString() {
		return "AppVersion [id=" + id + ", appid=" + appid + ", versionno=" + versionno + ", versioninfo=" + versioninfo
				+ ", publishstatus=" + publishstatus + ", downloadlink=" + downloadlink + ", versionsize=" + versionsize
				+ ", createdby=" + createdby + ", creationdate=" + creationdate + ", modifyby=" + modifyby
				+ ", modifydate=" + modifydate + ", apklocpath=" + apklocpath + ", apkfilename=" + apkfilename + "]";
	}
	public AppVersion() {
		super();
	}
	public AppVersion(int id, int appid, String versionno, String versioninfo, int publishstatus, String downloadlink,
			Double versionsize, Date createdby, Date creationdate, int modifyby, Date modifydate, String apklocpath,
			String apkfilename) {
		super();
		this.id = id;
		this.appid = appid;
		this.versionno = versionno;
		this.versioninfo = versioninfo;
		this.publishstatus = publishstatus;
		this.downloadlink = downloadlink;
		this.versionsize = versionsize;
		this.createdby = createdby;
		this.creationdate = creationdate;
		this.modifyby = modifyby;
		this.modifydate = modifydate;
		this.apklocpath = apklocpath;
		this.apkfilename = apkfilename;
	}
	public void setApkfilename(String apkfilename) {
		this.apkfilename = apkfilename;
	}
    
}
